Workflow
invoke, invoking, parameter, parameters, input, output
This property box selects the workflow that will be started by the Invoke Workflow activity. It also lets you define the input parameter values it will provide to the invoked workflow and edit the tokens created by invoked workflow's output parameters. Learn more about parameters.
To configure the Workflow Name property box
- Add the Invoke Workflow activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
- Select the activity in the Designer Pane.
- Under Workflow in the Properties Pane, select the workflow definition that the activity will run from the Choose a workflow drop-down menu.
- Optional: To open the selected workflow, click View workflow.
- If applicable, a list of input parameters (information the invoked workflow is requesting) will appear under Input Name. For each input parameter listed, provide a value that will be passed on to the invoked workflow. The value you provide here will be the corresponding input parameter's token's value in the invoked workflow.
- If you select Wait for the invoked workflow to finish running before continuing to run the current workflow in the Wait for Invoked Workflow property box, than you can also configure the tokens created by the invoked workflow's output parameters. Output parameters are information the invoked workflow is passing along to this workflow in the form of tokens. The invoked workflow has suggested token names and tags to accompany the output parameter values, but you can edit the names and tags if you want.
- Click the links under Token Name to rename the tokens.
- Click the links under Token Tags to help place the tokens on appropriate token menus and ensure they are evaluated correctly in conditions. More information.
- Optional: Click Refresh parameters at any time to get an updated list of parameters from the invoked workflow.
Note: Only workflow definitions that have been published to the Workflow Server can be selected.
Caution: If you have configured the Invoke Workflow activity to run the workflow that the activity is in, a runaway workflow might be created. In this situation, ensure that your workflow reaches a completion point. Failure to do so may lead to a runaway workflow. If you encounter this issue, disable the Invoke Workflow activity and re-publish the workflow.